<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .containner{
            width: 320px;
            height: 320px;border: 3px solid orange;
            margin: 100px auto;
            position: relative;
        }
        .box1,.box2,.box3,.box4,.box5{
            width: 100px;
            height: 100px;
            background-color: orange;
            text-align: center;
            line-height:100px;
            position: absolute;
        }
        .box1{
            left: 10px;
            top:10px;
        }
        .box2{
            right: 10px;
            top:10px;
        }
        .box3{
            left:110px;
            top:110px;
        }
        .box4{
            left: 10px;
            //top:210px;
            bottom: 10px;
        }
        .box5{
            right: 10px;
            bottom: 10px;
        }
    </style>
</head>
<body>
        <div class="containner">
            <div class="box1">box1</div>
            <div class="box2">box2</div>
            <div class="box3">box3</div>
            <div class="box4">box4</div>
            <div class="box5">box5</div>
        </div>
</body>
</html>